package com.xinruke.hostels.manage.user.interfaces.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * @author GuoZheng
 * @ClassName UserDetailQueryDTO
 * @date：2019/6/20
 * @version: V1.0.0
 * @description：
 */
@ApiModel("用户详情查询请求")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserDetailQueryDTO {

    @ApiModelProperty(value = "用户id",required = true)
    @NotNull(message = "用户id不能为空")
    private  Integer id;
}
